package com.liy.cloud.base.dao;

import com.liy.cloud.base.entity.BaseTypePartEntity;
import com.das.framework.common.dao.IBaseDao;

import java.util.List;

/**
 * @Auther: libs
 * @Date: 2018/6/27 19:50
 * @Description: 部件种类-部件关联Dao
 */
public interface BaseTypePartDao extends IBaseDao<BaseTypePartEntity, String> {

    /**
     *
     * 功能描述: 通过种类id删除
     *
     * @param:
     * @return: 
     * @auther: libs
     * @date: 2018/6/29 20:06
     */
    public int deleteByTypeId(String typeId) throws Exception;


    /**
     *
     * 功能描述: 批量插入数据
     *
     * @param:
     * @return: 
     * @auther: libs
     * @date: 2018/6/29 20:09
     */
    public int insertBatch(List<BaseTypePartEntity> typePartList) throws Exception;
}
